package com.strawcom.charmring.bean.http;

import java.util.List;

public class LoginResponse extends BaseResponse {

	private static final long serialVersionUID = -1823113092226459302L;

	public UserResponse register_tbl;
	public List<EverydayDetailResponse> everyday_detail_tbl;
	public List<EverydaySummaryResponse> everyday_summary_tbl;
	public PostEmergencyConfigRequest alarmnode_tbl;
		

	public static class UserResponse {
		public String username;
		public String password;
		public String phoneno;
		public String phoneauth;
		public String birthday;
		public int sex;
		public int height;
		public float weight;
		public String ringid;
		public String sversion;
		public String hversion;
		public String appversion;
		public String phonedevice;
		public String phoneversion;
		public String photourl;
		public String devicetoken;
	}

	public static class EverydaySummaryResponse {
		public String date; // 20150505
		public float weight;
		public int tgtcalorie;
		public int tgttime;
		public List<Calories> calories;

		public static class Calories {
			public int lasttm; // 分钟　
			public int type;
			public float distance;
			public float calorie;
		}
	}

	public static class EverydayDetailResponse {
		public String date; // 20150505
		public List<Exercises> exercises;

		public static class Exercises {
			public float calorie;
			public String starttm; // HHmmss
			public String endtm;
			public int type;
			public float distance;
			public int samplecnt;
		}
	}

}
